package com.spr.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 * 设备推送统一日志记录表
 */
@ApiModel(description = "设备推送统一日志记录表")
@Data
@TableName(value = "spr_device_push_record_log")
public class SprDevicePushRecordLog {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Long id;

    /**
     * 日志类型: record-完工记录, event-事件, heart-心跳
     */
    @TableField(value = "log_type")
    @ApiModelProperty(value = "日志类型: record-完工记录, event-事件, heart-心跳")
    private String logType;

    /**
     * 设备编号
     */
    @TableField(value = "device_number")
    @ApiModelProperty(value = "设备编号")
    private String deviceNumber;

    /**
     * 设备名称
     */
    @TableField(value = "device_name")
    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    /**
     * 推送信息
     */
    @TableField(value = "push_info")
    @ApiModelProperty(value = "推送信息")
    private String pushInfo;

    /**
     * 网络状态:1实时发送 0延时发送
     */
    @TableField(value = "network_status")
    @ApiModelProperty(value = "网络状态:1实时发送 0延时发送")
    private Byte networkStatus;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}